home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / cgplwlist / cgplw02501-02750.txt / 000135_mcarlson@herbie.unl.edu_Tue Feb 14 21:25:57 PST 1995.msg < prev    next >
Text File  |  1995-02-19  |  2KB  |  52 lines

  1. Article: 2637 of comp.graphics.packages.lightwave
  2. Xref: netcom.com comp.graphics.packages.lightwave:2637
  3. Path: netcom.com!ix.netcom.com!howland.reston.ans.net!lamarck.sura.net!hookup!news.mathworks.com!uunet!in1.uu.net!mr.net!InforMNs.k12.MN.us!news.nde.state.ne.us!news.mid.net!crcnis3.unl.edu!herbie.unl.edu!mcarlson
  4. From: mcarlson@herbie.unl.edu (MATTHEW CARLSON)
  5. Newsgroups: comp.graphics.packages.lightwave
  6. Subject: An AREXX question...
  7. Date: 13 Feb 1995 04:18:06 GMT
  8. Organization: University of Nebraska--Lincoln    
  9. Lines: 35
  10. Distribution: world
  11. Message-ID: <3hmmhu$etb@crcnis3.unl.edu>
  12. NNTP-Posting-Host: herbie.unl.edu
  13. Summary: bla
  14. Keywords: bla
  15.  
  16. Hello!
  17.  
  18.    I've been spending a lot of time developing a few macros for the 
  19. Lightwave Modeler.
  20.  
  21.    I want to make a macro that performs an operation based upon 
  22. points within the curent layer which that user has selected. However, 
  23. the order that those points were selected by the user is very 
  24. significant. The commands supported by the Modeler's AREXX port, make 
  25. it easy to perform operations upon particular points by using a point 
  26. index. But so far, it seems this point index only reflects the order 
  27. in which the points were created.
  28.  
  29.    I'm asking if there is any possible way to determine the point 
  30. selection order, NOT the point creation order. I tried to create a 
  31. macro that would offset the point which was selected last.
  32.  
  33.    First I get the total number of selected pints with:
  34.  
  35. n = xfrm_begin()
  36.  
  37.    Suppose n is a 5 (5 total points), then in an attempt to move the 
  38. last point selected, I use a line like this later on in the macro:
  39.  
  40. call xfrm_setpos (n, 20 0 10)
  41.  
  42.    The first argument in this function, is a point index. So in this 
  43. example point 5 would be moved. My problem, is that the same point is 
  44. no matter what order I select the points.
  45.  
  46.     If there is ANY way to determine the sequence in which points are 
  47. selected, please let me know!!!
  48.  
  49. -Matt
  50.  
  51.  
  52.